// 统一导出所有API模块
export * from "./auth";
export * from "./user";
export * from "./training";
export * from "./assessment";
export * from "./achievement";
export * from "./dailyChallenge";
export * from "./community";
export * from "./motivation";
export * from "./misc";

// 导出类型定义
export type { Achievement, UserAchievement } from "./achievement";
export type { DailyChallenge } from "./dailyChallenge";
export type {
  CommunityPost,
  CommunityGroup,
  CommunityShare,
  HelpRequest,
  Comment,
} from "../types/community";
export type { User, LeaderboardUser } from "../types/user";

// 默认导出所有API实例
export { authApi } from "./auth";
export { userApi } from "./user";
export { trainingApi } from "./training";
export { assessmentApi } from "./assessment";
export { achievementApi } from "./achievement";
export { dailyChallengeApi } from "./dailyChallenge";
export { communityApi } from "./community";
export { motivationApi } from "./motivation";
export { miscApi } from "./misc";
